package com.dmlll.mapper;

import com.dmlll.VO.ZjyangDTOzjy;
import com.dmlll.VO.ZjyangVO;
import com.dmlll.domain.DrugCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dmlll.domain.DrugMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *0
 * @author dmLll
 * @since 2021-03-31
 */
public interface DrugCategoryMapper extends BaseMapper<DrugCategory> {

    List<DrugCategory> selectCategory();
    /**
     *查看目录
     */
    List<ZjyangVO> zjyangVO(@Param("zjyangDTOzjy")ZjyangDTOzjy zjyangDTOzjy);

    //根据药品类别查询出类别id
    int category(@Param("category") String category);


}
